package com.epoint.mobileoa.ui.statistics;

import java.util.Map;

import android.os.Message;

import com.epoint.mobileoa.bizlogic.NewTask;
import com.epoint.mobileoa.bizlogic.SuperView;
import com.epoint.mobileoa.tools.HttpUtil;

/**
 * @author liyc
 * @time 2013-1-5 上午11:00:21
 * @annotation
 */
public class GetErrorLogNewTask extends NewTask {

	public GetErrorLogNewTask(SuperView sv, int taskID,
			Map<String, Object> param, String progressMsg,
			int progressDialogType) {
		super(sv, taskID, param, progressMsg, progressDialogType);
		// TODO Auto-generated constructor stub
	}

	@Override
	public void exectue(Message mess) throws Exception {
		// TODO Auto-generated method stub
		String index = getParam().get("CurrentPageIndex")+"";
		String count = getParam().get("PageSize")+"";
		String seamurl = generateURL("getMobileErrorLog",index,count);
		String bs = HttpUtil.getHttpBack(seamurl);
		setMessageToRefreshUI(mess,bs);
	}

}
